/*
 * @Description: 
 * @Author: sanghx
 * @Date: 2020-07-09 17:33:20
 * @LastEditors: sanghx
 * @LastEditTime: 2020-07-11 13:05:58
 */
module.exports = {
  publicPath: process.env.NODE_ENV === "production" ? "/giteedatav/" : "/",
  devServer: {
    port: 8080,
    proxy: {
      "/api": {
        target: "https://gitee.com/api/v5/",
        changeOrigin: true,
        ws: true,
        pathRewrite: {
          "^/api": ""
        }
      }
    }
  }
};